  /* ===============================
   0. VARIÁVEIS GLOBAIS
   =============================== */
:root {
  --brand-color: #154C4D;
  --accent-color: #C4751E;
  --primary-color: hsl(170, 100%, 15%);
  --secondary-color: #C4751E;
  --background-color: #f4f6f7;
  --text-color: #333;
  --light-text-color: #fff;
  --border-radius: 8px;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}


.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
  color: #555;
}


/* ------------------- */
/* 2.Header / Navbar Styles */
/* ------------------- */


/* Navbar transparente + scroll efeito */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
  background-color: transparent;
}

/* Quando a rolagem acontecer, a cor sólida aparece */
.navbar.navbar-scrolled {
  background-color: #154C4D;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Link nav */
.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
  color: #FFC107 !important; /* Exemplo de cor de destaque */
}

.dropdown-menu {
  background-color: #154C4D;
  border: none;
  transition: all 0.3s ease;
}

.dropdown-item {
  color: #fff;
}

/* Navbar responsiva */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: #154C4D;
    padding: 1rem;
  }

  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: #fff !important;
  }

  .dropdown-menu {
    position: static;
    float: none;
    background-color: #154C4D;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-item {
    padding: 0.5rem 1rem;
  }

  .contactosElocalizacao {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .contactosElocalizacao li {
    margin-bottom: 0.5rem;
  }

  .contactosElocalizacao li a {
    padding: 0.5rem 0;
    display: inline-block;
  }
}

/* ===============================
   2. HERO SECTION
   =============================== */
.hero-section {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text-color);
  background: url(../_images/logo.jpeg) no-repeat center center / cover;
  
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background-color: rgba(0, 0, 0, 0.836);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 10px;
}

/* Logos dos parceiros */
.hero-partners-bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  background-color: var(--light-text-color);
  padding: 20px 40px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-partners-bar img {
  height: 40px;
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--transition-speed) ease;
}

.hero-partners-bar img:hover {
  filter: grayscale(0%) opacity(1);
}



/* ------------------- */
/* 3. Particle Background */
/* ------------------- */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -100;
}

main {
  position: relative;
  z-index: 1;
}

/* ------------------- */
/* 4. Services Section */
/* ------------------- */
#servicos{
  background-color: #154c4d;
  border-radius: 20px;
  margin: 5rem 0px;
  padding: 3rem 0px;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: #004d40a5;
  border-radius: var(--border-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.34);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  background-color:#154C4D;
;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.666);
}

.service-card__icon {
  font-size: 3rem;
  color: #FFC107;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.service-card__title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var( --light-text-color);
}
.service-card__title:hover{
    font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--light-text-color);
}

.service-card__description {
  font-size: 0.95rem;
  color: #ffffff;
  flex-grow: 1;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.service-card__button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background-color: var(--accent-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  align-self: center;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.service-card__button:hover,
.service-card__button:focus-visible {
  background-color: var(--light-text-color);
  color: var(--card-background);
  transform: scale(1.05);
  outline: none;
}
 

/* Media Query para Tablets (Largura mínima de 768px) */
@media (min-width: 768px) {
    #servicos{
        margin: 5rem 0px; /* Volta à margem original para desktop */
        padding: 3rem 0px; /* Volta ao padding original para desktop */
         background-color: #154c4d;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    }

    .service-card__icon {
        font-size: 3rem; /* Volta ao tamanho original */
        margin-bottom: 1.5rem;
    }

    .service-card__title {
        font-size: 1.3rem; /* Volta ao tamanho original */
        margin-bottom: 1rem;
    }

    .service-card__description {
        font-size: 0.95rem; /* Volta ao tamanho original */
    }
}


/* Media Query para Desktops Grandes (Largura mínima de 1024px) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 colunas */
    }
}

/* ------------------- */
/* 5. Testimonials Section */
/* ------------------- */
#testemunhos {
  /* background-color:; */
  padding: 5rem 0;
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.swiper-slide {
  background: #004d40b2;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: 0 0 25px rgba(5, 75, 16, 0.488);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial-author__image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--brand-color);
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.testimonial-quote::before {
  content: '“';
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.5;
  position: relative;
  top: 10px;
  left: -5px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-color);
}

.testimonial-role {
  font-size: 0.9rem;
  color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-color);
  transition: color var(--transition-speed);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--accent-color);
}

.swiper-pagination-bullet-active {
  background: var(--brand-color) !important;
}

/* RESPONSIVIDADE */

/* Responsividade */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-partners-bar img {
    height: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .hero-partners-bar img {
    height: 25px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-partners-bar img {
    height: 22px;
  }
}
